<div id="modificar">

<script type="text/javascript">
		$().ready(function() {
		$("#tipo_taller_m").autocomplete("http://localhost/granvia/taller/get_NamesTT", {width: 260, matchContains: true});
		});
	</script>

<?php 
			if(!empty($info)){
				foreach ($info->result() as $lista_taller)
				{
		?>
<form id="nuevoTallerForm" action="<?php echo base_url();?>taller/modificarDB/" method="post" enctype="multipart/form-data">
    	<table border="1">
          <tr>
            <th scope="row">Nombre&nbsp;</th>
            <td><input name="nombre" id="nombre" type="text" value="<?php echo $lista_taller->nombre_taller ?>" />
            <input name="cod_taller" type="hidden" value="<?php echo $lista_taller->cod_taller ?>" /></td>
          </tr>
          <tr>
            <th scope="row">Responsable&nbsp;</th>
            <td><input name="responsable" idname="responsable" value="<?php echo $lista_taller->dir_taller ?>" type="text" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">Direccion&nbsp;</th>
            <td><input name="direccion" idname="direccion" value="<?php echo $lista_taller->dir_taller ?>" type="text" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">Telefono Fijo&nbsp;</th>
            <td><input name="telefono" id="telefono" type="text" value="<?php echo $lista_taller->telf_taller ?>" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">Celular&nbsp;</th>
            <td><input name="celular" id="celular" type="text" value="<?php echo $lista_taller->cel_taller ?>" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">Fax&nbsp;</th>
            <td><input name="fax" id="fax" type="text" value="<?php echo $lista_taller->fax_taller ?>" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">correo&nbsp;</th>
            <td><input name="correo" id="correo" type="text" value="<?php echo $lista_taller->correo_taller ?>" />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">Tipo Taller</th>
            <td><input name="tipo_taller_m" id="tipo_taller_m" value="hola" type="text"  />&nbsp;</td>
          </tr>
          <tr>
            <th scope="row">&nbsp;</th>
            <td><input name="send" type="submit" value="Guardar" />&nbsp;</td>
          </tr>
        </table>

    </form>
<?php 
	  	}
	  }else{ echo 'no hay nada' ?>
      
<?php }?>
	
 </div>
